xen/arm: Remove leading +1 when hypervisor compat property is created
authorJulien Grall <julien.grall@linaro.org>
Thu, 16 May 2013 22:34:11 +0000 (23:34 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 23 May 2013 10:35:04 +0000 (11:35 +0100)
commit0bb8977dca01321b5ea6f86bf62431783a49a955
treefea2d18f31c03b26fab9c21275c62ec8bddff763
parent9204bc654562976c7cdebf21c6b5013f6e3057b3
xen/arm: Remove leading +1 when hypervisor compat property is created

When a static array with string is created, the size of this array contains
the \0.

This error was raised with gcc 4.7 because, the local variables are not always
initialized to 0.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/arch/arm/domain_build.c